#include <bits/stdc++.h>
using namespace std;
#define int long long
#define fi first
#define se second
const int MAXN=1e9+7;
const int SIZE=200005;
int n;
int r[SIZE];
int a[SIZE];
int ans;
signed main(){
    ans=-1;
    freopen("input","r",stdin);
    freopen("output","w",stdout);
    cin>>n;
    for(int i=0;i<n;i++){
        cin>>r[i];
        a[r[i]]++;
    }
    sort(a,a+n);
    for(int i=0;i<n;i++){
        ans=max(ans,a[i]);
    }
    cout<<ans<<endl;
    return 0;
}